<template>
<div>
		<!-- header -->
		<div class="header">
			<div class="topbar">
				<div class="w1200">
					<div class="welcome">hi~欢迎来到POS收银系统精品美食官网</div>
					<div class="login">
						<a href="/login" target="_blank">登录</a>
					</div>
				</div>
			</div>
			<div class="navwrap w1200">
				<div class="logo">
					<a href="javascript:void(0);">
						<img src="./homepageStatic/logo.png" >
					</a>
				</div>
				<div class="navbar">
					<ul>
						<li class="on">
							<a href="javascript:void(0);">网站首页</a>
						</li>
						<li>
							<a href="javascript:void(0);">产品中心</a>
						</li>
						<li>
							<a href="javascript:void(0);">公司简介</a>
						</li>
						<li>
							<a href="javascript:void(0);">招商加盟</a>
						</li>
						<li>
							<a href="javascript:void(0);">联系我们</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<!-- banner -->
		<div class="banner">
			<!-- Swiper -->
			<div class="swiper-container">
			  <div class="swiper-wrapper">
					<img src="./homepageStatic/banner.png" alt="">
			    <!-- <div class="swiper-slide" style="background-image:url(./homepageStatic/banner.png)"></div>
			    <div class="swiper-slide" style="background-image:url(./homepageStatic/banner.png)"></div> -->
			  </div>
			</div>

			<!-- Swiper JS -->
			<!-- <script src="../package/js/swiper.min.js"></script> -->
		</div>
    		<!-- 产品推荐 -->
		<div class="wrap">
			<div class="tit"><img src="./homepageStatic/tit01.png" ></div>

			<div class="product">
				<div class="lft">
					<img src="./homepageStatic/img01.png" >
				</div>
				<div class="rit">
					<ul>
						<li>
							<a><img src="./homepageStatic/img02.png" ></a>
							<div>
								<span>烧蛋黄 ￥19.9</span>
								<span @click="dialogVisible = !dialogVisible" class="buy-now">立即购买</span>
							</div>
						</li>
						<li>
							<a><img src="./homepageStatic/img03.png" ></a>
							<div>
								<span>雪花酥 ￥19.9</span>
								<span @click="dialogVisible = !dialogVisible" class="buy-now">立即购买</span>
							</div>
						</li>
						<li>
							<a><img src="./homepageStatic/img04.png" ></a>
							<div>
								<span>芙蓉糕 ￥19.9</span>
								<span @click="dialogVisible = !dialogVisible" class="buy-now">立即购买</span>
							</div>
						</li>
						<li>
							<a><img src="./homepageStatic/img05.png" ></a>
							<div>
								<span>牛轧饼 ￥19.9</span>
								<span @click="dialogVisible = !dialogVisible" class="buy-now">立即购买</span>
							</div>
						</li>
						<li>
							<a><img src="./homepageStatic/img06.png" ></a>
							<div>
								<span>蛋黄酥 ￥19.9</span>
								<span @click="dialogVisible = !dialogVisible" class="buy-now">立即购买</span>
							</div>
						</li>
						<li>
							<a><img src="./homepageStatic/img07.png" ></a>
							<div>
								<span>花生酥 ￥19.9</span>
								<span @click="dialogVisible = !dialogVisible" class="buy-now">立即购买</span>
							</div>
						</li>
					</ul>
				</div>
			</div>
		</div>

		<!-- 产品推荐 -->
		<div class="wrap">
			<div class="tit"><img src="./homepageStatic/tit01.png" ></div>

			<div class="product">
				<div class="lft">
					<img src="./homepageStatic/img01.png" >
				</div>
				<div class="rit">
					<ul>
						<li>
							<a><img src="./homepageStatic/img02.png" ></a>
							<div>
								<span>烧蛋黄 ￥19.9</span>
								<span @click="dialogVisible = !dialogVisible" class="buy-now">立即购买</span>
							</div>
						</li>
						<li>
							<a><img src="./homepageStatic/img03.png" ></a>
							<div>
								<span>雪花酥 ￥19.9</span>
								<span @click="dialogVisible = !dialogVisible" class="buy-now">立即购买</span>
							</div>
						</li>
						<li>
							<a><img src="./homepageStatic/img04.png" ></a>
							<div>
								<span>芙蓉糕 ￥19.9</span>
								<span @click="dialogVisible = !dialogVisible" class="buy-now">立即购买</span>
							</div>
						</li>
						<li>
							<a><img src="./homepageStatic/img05.png" ></a>
							<div>
								<span>牛轧饼 ￥19.9</span>
								<span @click="dialogVisible = !dialogVisible" class="buy-now">立即购买</span>
							</div>
						</li>
						<li>
							<a><img src="./homepageStatic/img06.png" ></a>
							<div>
								<span>蛋黄酥 ￥19.9</span>
								<span @click="dialogVisible = !dialogVisible" class="buy-now">立即购买</span>
							</div>
						</li>
						<li>
							<a><img src="./homepageStatic/img07.png" ></a>
							<div>
								<span>花生酥 ￥19.9</span>
								<span @click="dialogVisible = !dialogVisible" class="buy-now">立即购买</span>
							</div>
						</li>
					</ul>
				</div>
			</div>
		</div>

		<!-- 产品推荐 -->
		<div class="wrap">
			<div class="tit"><img src="./homepageStatic/tit02.png" ></div>

			<div class="inrto">
				<div class="lft">
					<div class="cont">
						<p>人们总是热衷于享受生活，来一场说走就走的旅行，看一部精彩绝伦的电影……少年啷当有一个暗恋已久的姑娘，她是一个美好生活主义者，她偏爱那些精致而美味的食品，因为它们能带给人美妙的味蕾享受，赋予生活更多的乐趣。
但是姑娘很少笑，她总是轻咬一口糕点便摇头叹气：“美味，但不健康。”
姑娘一句不经意的话拨动了啷当少年的心，他暗下决心要做出一款不仅精致美味而且健康安全的休闲食品。
少年啷当开始每天沉迷于创作各种食品，他总是穿梭于市集之间，寻找各种蔬食原材，并把刚做好的新鲜食品赠送给朋友们品尝。时间久了，朋友们为他起了个绰号叫“小二”，因为他送食物给别人的模样，活脱脱一个乐观自由的店小二。</p>
						<p>某天，啷当少年终于鼓起勇气将自己做的食物摆到姑娘面前，姑娘尝了尝，精致的面容上终于绽放出笑容。
在得到姑娘肯定的同时，啷当少年也终于寻找到了自己的美食本真，人们追求的不仅仅是美味，安全健康才是最重要的。在经历了四年的产品打磨后推出了“POS收银系统”这一精品休闲食品品牌，致力于还原休闲食物本质，只做货真价实的食品！这一理念符合当下人们的内心诉求，而POS收银系统也是真正能够带给人们美好健康生活的绝佳食品。</p>
						<div class="number">全国服务热线：<i>010-123456789</i></div>
					</div>
				</div>
				<div class="rit">
					<img src="./homepageStatic/img08.png" >
				</div>
			</div>
		</div>

		<!-- footer -->
		<div class="footer">
			<div class="wrap">
				<div class="msg">
					<div class="lft">
						<img src="./homepageStatic/logo2.png" >
					</div>
					<div class="line"></div>
					<div class="cnt">
						<ul>
							<li>
								<a href="javascript:void(0);">7月20日POS收银系统美食商城平台正式推出</a>
								<span>2020-07-1</span>
							</li>
							<li>
								<a href="javascript:void(0);">7月9日POS收银系统荆州站招商会圆满举办</a>
								<span>2020-07-09</span>
							</li>
							<li>
								<a href="javascript:void(0);">7月15日POS收银系统随州站招商会圆满举办</a>
								<span>2020-07-15</span>
							</li>
						</ul>
					</div>
					<div class="line"></div>
					<div class="rit">
						<p><img src="./homepageStatic/qrcode.png"></p>
						<span>扫一扫关注公众号</span>
					</div>
				</div>
			</div>

			<div class="friendship">
				<div class="wrap">
					<a href="https://mall.jd.com/index-10093847.html?from=pc" target="_blank">POS收银系统食品官方旗舰店  </a>
					<a href="https://erlansp.tmall.com/?spm=a1z10.3-b-s.w5001-22903130087.2.7cb140e3bOaHGB&scene=taobao_shop" target="_blank">尔岚食品专营店 </a>
					<a href="https://www.qiniu.com/" target="_blank">七牛云</a>
					<a href="https://www.aliyun.com/" target="_blank">阿里云</a>
					<a href="https://cloud.tencent.com/" target="_blank">腾讯云</a>
				</div>
			</div>

			<div class="copyright">Copyright ©2020 POS收银系统, All rights reserved. 鄂ICP备20012554号</div>


		</div>

		<el-dialog
			:visible.sync="dialogVisible"
			width="30%">
			<div style="margin-bottom: 20px;">
				<span style="font-size:25px;">扫码支付</span>
				<span style="color:red;font-size:30px">￥19.9</span>
			</div>
			<img :src="qcCode" alt="">
		</el-dialog>

</div>
</template>

<script>
export default {
  data () {
    return {
			dialogVisible: false,
    }
  },
  created () {
		this.qcCode = encodeURI(this.$http.adornUrl(`/wx/wxpay/getWxCode`))

    // this.getCaptcha()
	},

  methods: {
		// getCode(){
		// 	this.dialogVisible = true
		// },
  }
}
</script>

<style lang="scss" scoped>
	li{
		list-style: none;
	}
body{
	font-family: "微软雅黑";
	color: #4f4f4f;
	font-size: 14px;
	background: #fff;
}
a{
	color: #ffbf77;
}

.w1200{
	width: 1200px;
	overflow: hidden;
	margin: 0 auto;
}

/* header */
.header{
	width: 100%;
	overflow: hidden;
}
.header .topbar{
	height: 38px;
	line-height: 38px;
	background: #f5f5f5;
}
.header .topbar .w1200{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header .topbar .login{
	width: 80px;
	height: 38px;
	line-height: 38px;
}
.header .topbar .login a{
	display: block;
	text-align: center;
	font-size: 16px;
}
.navwrap{
	height: 114px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header .logo{
	width: 280px;
	height: 114px;
	line-height: 114px;
	padding-left: 15px;
}
.header .logo img{
	vertical-align: middle;
}

.header li{
	width: 134px;
	height: 46px;
	line-height: 46px;
	float: left;
	margin-right:20px;
}
.header li a{
	display: block;
	color: #333;
	font-size: 18px;
	text-align: center;
	border: 2px solid #FFF;
}
.header li.on a{
	border: 2px solid #FFBF77;
	border-radius: 30px;
	color: #FFBF77;
}
.header li:hover a{
	border: 2px solid #FFBF77;
	border-radius: 30px;
	color: #FFBF77;
}


/* banner */
.banner{
	width: 100%;
	height: 600px;
}
.swiper-container {
	width: 100%;
	height: 100%;
  }
.swiper-slide {
	background-position: center;
	background-size: cover;
}

/* wrap */
.wrap{
	width: 1200px;
	overflow: hidden;
	margin: 0 auto;
}
.wrap .tit{
	padding: 50px 0;
	text-align: center;
}
.wrap .product{
	display: flex;
	justify-content: space-between;
}
.wrap .product .lft{
	width: 288px;
}
.wrap .product .rit{
	width: 892px;
}
.wrap .product ul{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
}
.wrap .product li{
	width: 283px;
	text-align: center;
}
.wrap .product li div{
	display: flex;
	justify-content: space-between;
	padding: 0 30px;
	align-items: center;
}
.wrap .product li .buy-now{
	font-size: 12px;
	padding: 0px 15px;
	background: red;
	color: #fff;
	border-radius: 30px;
	height: 25px;
	line-height: 25px;
}
.wrap .product li a{
	display: block;
	width: 283px;
	height: 214px;
	overflow: hidden;
}
.wrap .product li img{
	// max-width: 100%;
	// width: 283px;
	height: 214px;
}
.wrap .product li span{
	text-align: center;
	font-size: 18px;
	color: #796657;
	line-height: 44px;
}

/* inrto */
.wrap .inrto{
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
}

.wrap .inrto .lft{
	width: 52%;

}
.wrap .inrto .lft p{
	line-height: 26px;
	font-size: 14px;
	padding-bottom: 10px;
	text-indent: 2em;
}

.wrap .inrto .lft .number{
	font-size: 30px;
	line-height: 40px;
	text-align: center;
	color: #FFBF77;
}
.wrap .inrto .lft .number i{
	font-style: italic;
}

/* footer */
.footer{
	width: 100%;
	background: #2e3033;
}
.footer .msg{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 40px 0;
}

.footer .msg .lft{
	width: 275px;
	height: 120px;
	line-height: 120px;
	text-align: center;
	background: #fffbf7;
}
.footer .msg .lft img{
	vertical-align: middle;
	max-width: 100%;
}
.footer .msg .line{
	width: 1px;
	height: 160px;
	background: #fff;
}
.footer .msg .cnt{
	width: 45%;
}
.footer .msg .cnt li{
	height: 28px;
	line-height: 28px;
	// background: url(../img/icon.png) no-repeat left center;
	padding-left: 15px;
	font-size: 12px;
}
.footer .msg .cnt li a{
	float: left;
	width: 70%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #fff;
}
.footer .msg .cnt li a:hover{
	text-decoration: underline;
}
.msg .cnt li span{
	color: #e1e1e1;
	float: right;
}
.footer .msg .rit{
	text-align: center;
}
.footer .msg .rit span{
	display: block;
	color: #fff;
	line-height: 26px;
}

.footer .friendship{
	height: 54px;
	line-height: 54px;
	border-top: 1px solid #e7e7e7;
	border-bottom: 1px solid #e7e7e7;
}
.friendship .wrap{
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.friendship .wrap a{
	color: #fff;
}
.copyright{
	text-align: center;
	color: #e7e7e7;
	line-height: 50px;
}


/* 通用按钮样式 */

.button{
	 height: 88rpx;
	  width: 90%;
	  color: #ffffff;
	  background-color: #FFC078;
	  border-radius: 46rpx;
	  font-size: 32rpx;
	  text-align: center;
	  line-height: 88rpx;
	  margin: 0 auto;
}








</style>
